package controllers

import (
	"net/http"
)

// 404页面
func NotFound(rw http.ResponseWriter, r *http.Request) {

	content := `<html><head><title>404 Not Found</title></head>
<body bgcolor="white" align="center">
<br><center><img src="/static/images/404.png" border="0"/></center>
</body></html>
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->
<!-- a padding to disable MSIE and Chrome friendly error page -->

`
	rw.Header().Add("Content-Type", "text/html; charset=utf-8")
	rw.Write([]byte(content))

}
